#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QFileSystemModel>

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    QFileSystemModel* model = new QFileSystemModel(this);
    model->setRootPath("");
    ui->listView->setModel(model);
    ui->tableView->setModel(model);
    ui->treeView->setModel(model);

}

MainWindow::~MainWindow()
{
    delete ui;
}
